package com.zjs.springboot.ConfigurationPropertiesUsage;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Description TODO
 * @Author zhu_jinsheng[zhu_js@suixingpay.com]
 * @Date 2019/12/27 11:53
 * @Version 1.0
 */
//@Configuration
////@EnableConfigurationProperties(WorkProperties.class)
@Data
@Configuration
@ConfigurationProperties(prefix = "mytest")
public class MyTestConfigurationProperties {
    private UserConfigurationProperties user;
    private CompanyConfigurationProperties company;
}
